<?php
// +----------------------------------------------------------------------
// | Citrix [ WE ONLY DO WHAT IS NECESSARY ]
// +----------------------------------------------------------------------
// | Copyright (c) 2018 http://www.tpCitrix.com/ All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( http://www.tpCitrix.com/ )
// +----------------------------------------------------------------------
// | Author: Citrix < 2722279500@qq.com >
// +----------------------------------------------------------------------

namespace app\index\controller;

use \think\Db;
use \think\Cache;
use \think\Cookie;
use \think\Session;
use app\index\controller\Base;
class Contemt extends Base
{
    public function index()
    {
    	$cate_id = Db::name('contemt_cate')->order('sort DESC')->value('id');
    	$contemt = Db::name('contemt')->where('contemt_cate_id',$cate_id)->order('sort DESC')->select();
        $this->assign('contemt',$contemt);
        $this->assign('cur',"contemt");
        $this->assign('web_title','联系我们');
        return $this->fetch();
    }
}